#include <bits/stdc++.h>

#define int long long

using namespace std;

void solve()
{
    int a,b,c,d;
    cin >> a >> b >> c >> d;
    if(d < b || c < a)
    {
        cout << "No" << endl;
        return;
    }
    if(b > a)
    {
        if((a + 1) * 2 < b)
        {
            cout << "No" << endl;
            return;
        }
    }
    if(a > b)
    {
        if((b + 1) * 2 < a)
        {
            cout << "No" << endl;
            return;
        }
    }
    c = c - a;
    d = d - b;
    if(d > c)
    {
        if((c + 1) * 2 < d)
        {
            cout << "No" << endl;
            return;
        }
    }
    if(c > d)
    {
        if((d + 1) * 2 < c)
        {
            cout << "No" << endl;
            return;
        }
    }
    cout << "Yes" << endl;
}

signed main()
{
    int t;
    cin >> t;
    while(t --)
    {
        solve();
    }
}